package request

type CreateTestManagementReq struct {
	TestQuestionType     string `json:"test_question_type" form:"test_question_type" binding:"required"`         // 试题类型
	Difficulty           string `json:"difficulty" form:"difficulty" binding:"required"`                         // 难度
	ProfessionalScopeOne string `json:"professional_scope_one" form:"professional_scope_one" binding:"required"` // 专业范围一级
	ProfessionalScopeTwo string `json:"professional_scope_two" form:"professional_scope_two" binding:"required"` // 专业范围二级
	Author               string `json:"author" form:"author" binding:"required"`                                 // 作者
	TestQuestions        string `json:"test_questions" form:"test_questions" binding:"required"`                 // 试题题目
}
type UpdateTestManagementReq struct {
	Id                   uint64 `json:"id" form:"id" binding:"required"`
	TestQuestionType     string `json:"test_question_type" form:"test_question_type" binding:"required"`         // 试题类型
	Difficulty           string `json:"difficulty" form:"difficulty" binding:"required"`                         // 难度
	ProfessionalScopeOne string `json:"professional_scope_one" form:"professional_scope_one" binding:"required"` // 专业范围一级
	ProfessionalScopeTwo string `json:"professional_scope_two" form:"professional_scope_two" binding:"required"` // 专业范围二级
	Author               string `json:"author" form:"author" binding:"required"`                                 // 作者
	TestQuestions        string `json:"test_questions" form:"test_questions" binding:"required"`                 // 试题题目
}
type CreateTestOptionReq struct {
	TestManagementId uint64 `json:"test_management_id" form:"test_management_id" binding:"required"`
	Select           string `json:"select" form:"select" binding:"required"` // 选项
	Option           string `json:"option" form:"option" binding:"required"` // 选项值
}
type CreateTestModuleReq struct {
	TestManagementId  uint64 `json:"test_management_id" form:"test_management_id" binding:"required"` // 考试管理ID
	FounderId         uint64 `json:"founder_id" form:"founder_id" binding:"required"`                 // 创建人id
	TestOptionId      uint64 `json:"test_option_id" form:"test_option_id" binding:"required"`
	TestManagementIds uint64 `json:"test_management_ids" form:"test_management_ids" binding:"required"` // 试题选项ID
	TestAnswer        string `json:"test_answer" form:"test_answer" binding:"required"`                 // 试题答案
	Analysis          string `json:"analysis" form:"analysis" binding:"required"`                       // 解析
	Keywords          string `json:"keywords" form:"keywords" binding:"required"`                       // 关键字
	ViewingRange      string `json:"viewing_range" form:"viewing_range"`                                // 观看范围
}
type TestModuleInfoReq struct {
	Id uint64 `json:"id" form:"id" binding:"required"`
}
